package com.sloera.nacos.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("nacos-provider")
public interface ProviderClient {

    @GetMapping("service")
    // aaa 服务提供者方法参数名一致
    String service(@RequestParam("aaa") String bbb);
}
